package com.wocao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wocao.entity.ReqBody;
import com.wocao.entity.ZyOwner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 业主  服务类
 */
public interface ZyOwnerService extends IService<ZyOwner> {

    //分页
    Page<ZyOwner> allPage(Page<ZyOwner> page, ReqBody reqBody);

    IPage<ZyOwner> getZyOwnerAll(Long current, Long size, Long roomStatus);

    List<ZyOwner> getOwnerRoomRecordAll(String ownerRealName);

    ZyOwner getLogin(ZyOwner zyOwner) throws Exception;

    void addRegister(ZyOwner zyOwner) throws Exception;

}
